@import "@/styles/__index.less";

.fill-gray{
  background: gray;
}
.event-info {
  height: 100%;
  width: 100%;
  padding: 16px;
  background-color: rgba(0, 26, 40, 0.61);
  border-radius: 6px;
  display: flex;
  flex-direction: column;

  .arrowColor{
    color: #F8AA47;
  }
  &[selected="true"] {
    .set-border(@event-colors, 2);
  }

  .title-wrap {
    height: 50px;
    width: 100%;
    display: flex;
    justify-content: space-between;

    .title-wrap-left {
      height: 100%;
      width: 280px;
      background-image: url("@/assets/event-box-title-image.png");
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center center;

      .title-box {
        position: relative;
        top: 8px;
        left: 72px;
        font-weight: bold;
        display: inline-flex;
        align-items: center;

        .tag {
          padding: 0px 10px;
          margin-left: 6px;
          color: white;
          font-size: 12px;
          user-select: none;
          transform: scale(0.85);
          display: inline-block;
          .set-all-color(@event-colors);
        }
      }
    }

    .hexagon {
      width: 50px;
      height: 58px;
      font-weight: bold;
      clip-path: polygon(0 25%, 50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%);
      display: flex;
      justify-content: center;
      align-items: center;
      .get-gradient(to top);
      .set-background(@gradient-colors);
    }
  }

  .infos {
    flex: 1;
    justify-content: space-evenly;
    display: flex;
    flex-direction: column;
    position: relative;

    .info-item {
      display: flex;
     &.singleItem{

     }
      .title {
        width: 64px;
        color: #6AB3F8;
        margin-right: 14px;
        text-align-last: justify;
      }

      .info-box {
        flex: 1;
        display: flex;
        align-items: center;

        &.singleBox{
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .single {
          flex: 1;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }

        .arrow {
          color: #F8AA47;
          margin-left: 6px;
          font-weight: bold;
          transform: translateY(-2px) scaleX(0.8) scaleY(1.4);
        }
      }
    }

    .info-item-image {
      display: flex;

      .title {
        width: 64px;
        color: #6AB3F8;
        margin-right: 14px;
        text-align-last: justify;
      }

      .image {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 10px;
      }
    }

    .btn-box {
      position: absolute;
      bottom: 6px;
      right: 0px;
      width: 50px;
      height: 64px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      .btn-item {
        padding: 3px 0px;
        font-size: 12px;
        border-radius: 4px;
        display: flex;
        justify-content: center;
        align-items: center;
        .set-all-color(@button-colors);

        &[disable] {
          filter: brightness(0.75);
        }
      }
    }

    .image-box {
      position: absolute;
      bottom: 6px;
      right: 0px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border-radius: 10px;
    }
  }
}
